from .base import *

__all__ = ['DianPingItem']


# 评论
class DianPingItem(BaseItem):
    item_type = 'dianping'          # 类型
    commentNum = scrapy.Field()     # 评论数
    praiseNum = scrapy.Field()      # 点赞数
    star = scrapy.Field()           # 星级
    parentId = scrapy.Field()       # 父级ID,seedVal

    def __init__(self):
        super().__init__()
        self['type'] = 'dianping'
